Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 3 - Page Formatting and Dialog Box Customization / Page Formatting and Dialog Box Customization Reference
Functions / Manipulating Format Object Properties


GXGetFormatPaperType

You can use the GXGetFormatPaperType function to obtain the paper-type object referenced by a format object.

gxPaperType GXGetFormatPaperType (gxFormat aFormat);
aFormat
A reference to the format object for which to obtain the paper-type object.
function result
A reference to a paper-type object.
DESCRIPTION
The GXGetFormatPaperType function returns a reference to a paper-type object as its function result.

RESULT CODES
gxSegmentLoadFailedErrA required code segment could not be found, or there was not enough memory to load it.
gxPaperTypeNotFoundThe paper-type object cannot be located.
SEE ALSO
Listing 3-16 on page 3-59 shows an example that uses the GXGetFormatPaperType function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help